include ../Make.defines

PROGS =	hostent daytimetcpcli1 \
        daytimetcpcli daytimetcpsrv1 \
        daytimeudpcli1 daytimeudpcli2 daytimeudpsrv2

all:	${PROGS}

hostent: hostent.c $(INCSRC)
	${CC} ${CFLAGS} -o $@ $^ ${LIBS}
daytimetcpcli1: daytimetcpcli1.c $(INCSRC)
	${CC} ${CFLAGS} -o $@ $^ ${LIBS}

daytimetcpcli: daytimetcpcli.c $(INCSRC)
	${CC} ${CFLAGS} -o $@ $^ ${LIBS}
daytimetcpsrv1: daytimetcpsrv1.c $(INCSRC)
	${CC} ${CFLAGS} -o $@ $^ ${LIBS}

daytimeudpcli1: daytimeudpcli1.c $(INCSRC)
	${CC} ${CFLAGS} -o $@ $^ ${LIBS}
daytimeudpcli2: daytimeudpcli2.c $(INCSRC)
	${CC} ${CFLAGS} -o $@ $^ ${LIBS}
daytimeudpsrv2: daytimeudpsrv2.c $(INCSRC)
	${CC} ${CFLAGS} -o $@ $^ ${LIBS}

clean:
	rm -f ${PROGS}
